/*  1:   */ package org.jetbrains.jps.model.module.impl;
/*  2:   */ 
/*  3:   */

import org.jetbrains.jps.model.JpsElementCollection;
import org.jetbrains.jps.model.ex.JpsCompositeElementBase;
import org.jetbrains.jps.model.module.JpsDependencyElement;
import org.jetbrains.jps.model.module.JpsModule;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */ 
/* 10:   */ public abstract class JpsDependencyElementBase<Self extends JpsDependencyElementBase<Self>>
/* 11:   */   extends JpsCompositeElementBase<Self>
/* 12:   */   implements JpsDependencyElement
/* 13:   */ {
/* 14:   */   protected JpsDependencyElementBase() {}
/* 15:   */   
/* 16:   */   protected JpsDependencyElementBase(JpsDependencyElementBase<Self> paramJpsDependencyElementBase)
/* 17:   */   {
/* 18:31 */     super(paramJpsDependencyElementBase);
/* 19:   */   }
/* 20:   */   
/* 21:   */   public void remove()
/* 22:   */   {
/* 23:36 */     ((JpsElementCollection)((JpsDependenciesListImpl)this.myParent.getParent()).getContainer().getChild(JpsDependenciesListImpl.DEPENDENCY_COLLECTION_ROLE)).removeChild(this);
/* 24:   */   }
/* 25:   */   
/* 26:   */   public JpsDependenciesListImpl getDependenciesList()
/* 27:   */   {
/* 28:40 */     return (JpsDependenciesListImpl)this.myParent.getParent();
/* 29:   */   }
/* 30:   */   
/* 31:   */   public JpsModule getContainingModule()
/* 32:   */   {
/* 33:45 */     return getDependenciesList().getParent();
/* 34:   */   }
/* 35:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.module.impl.JpsDependencyElementBase

 * JD-Core Version:    0.7.0.1

 */